/*********************************************************
          File Name:t.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 13 Sep 2015 02:42:13 PM CST
**********************************************************/

#include <iostream>
using namespace std;

#include <string>

string &res(string &s)
{
        s = s + "this";
        return s;
}

int main()
{
        string s("what's ");
        res(s) += " a test";
        cout << s << endl;
}
